package com.ehome.poct.base.dao.device.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ehome.mybatisplus.autoconfigure.BaseEntityOld;
import lombok.Data;

/**
 * 设备连接打印机
 *
 * @author muqiu
 * @Date 2022-06-23 09:42
 */
@TableName("test_device_printer")
@Data
public class TestDevicePrinterDO extends BaseEntityOld<TestDevicePrinterDO> {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


    /**
     * 打印机id
     */
    @TableId
    private Long testDevicePrinterId;
    /**
     * 打印机名称
     */
    @TableField(value = "printer_name")
    private String printerName;
    /**
     * 设备编号
     */
    @TableField(value = "sno")
    private String sno;
    /**
     * 设备类型
     */
    @TableField(value = "device_type")
    private Integer deviceType;
    /**
     * 0：连接打印机空闲状态 1：连接打印机正在检测或正在打印
     */
    @TableField(value = "status")
    private Integer status;

}
